第5步:我们将参数赋予调用行的函数。这将为每个参数名称分配一个值。

  • Function Call with Parameter 拖动到函数外部,并将其名称更改为 draw_card。
  • 将调用行中的参数值更改为字符串 "Sunday the 20th"
  • 添加由逗号分隔的另一个参数值:整数 7
  • 添加以逗号分隔的第三个参数值:字符串 "summer"

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)